package com.wl156.receivers;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class MyBroadcastReceiver extends BroadcastReceiver {

	private static final String TAG = MyBroadcastReceiver.class.getSimpleName();

	@Override
	public void onReceive(Context context, Intent intent) {
		Log.d(TAG, "action: " + intent.getAction());
		if (intent.getAction().equals(Intent.ACTION_PACKAGE_ADDED)) {

		} else if (intent.getAction().equals(Intent.ACTION_PACKAGE_CHANGED)) {

		} else if (intent.getAction().equals(Intent.ACTION_PACKAGE_INSTALL)) {

		} else if (intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)) {

		}
	}
}
